package com.codyy.felix.webconsole.plugins.route.core.pojo;

/**
 * @author : issac
 * create at:  2019-04-23  14:40
 * @description:
 */
public class ProcInfo implements IResult {

    private String name;

    private String procDesc;

    private String state;

    private String procVersion;

    public String getName() {
        return name;
    }

    public String getState() {
        return state;
    }

    public String getProcVersion() {
        return procVersion;
    }

    public String getProcDesc() {
        return procDesc;
    }

    public ProcInfo(String name, String state, String procVersion) {
        this.name = name;
        this.state = state;
        this.procVersion = procVersion;
    }
    public ProcInfo(String name, String state, String procVersion, String procDesc) {
        this.name = name;
        this.state = state;
        this.procVersion = procVersion;
        this.procDesc = procDesc;

    }

    @Override
    public String toString() {
        return "ProcInfo{" +
                "name='" + name + '\'' +
                ", procDesc='" + procDesc + '\'' +
                ", state='" + state + '\'' +
                ", procVersion='" + procVersion + '\'' +
                '}';
    }
}
